package com.example.aigc_education.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.aigc_education.domain.Resources;
import com.example.aigc_education.domain.dto.ResourcesDTO;
import com.example.aigc_education.domain.vo.ResourcesVO;

/**
* @author 23918
* @description 针对表【stu_resources(主题学习资源表)】的数据库操作Service
* @createDate 2024-11-04 19:29:25
*/
public interface ResourcesService extends IService<Resources> {

    // 查看链接
    ResourcesVO getResources(Long themeId);

    // 添加链接
    void addLearningLink(ResourcesDTO resourcesDTO);

    // 保存学习资源
    void saveResources(ResourcesVO resourcesVO);

    // 根据id查找学习资源
    ResourcesVO getResourcesById(Long id);
}
